package cn.jinjie.day03.test17;

public class Ordinary_Phone extends Phone {

    public Ordinary_Phone(String brand, String model) {
        super(brand, model);
    }

    //在重写call()和send()方法时,需要打印出自己手机的品牌和型号.
    @Override
    public void call() {
        System.out.println("型号为" + getModel() + "的" + getBrand() + "手机，正在通话");
    }

    @Override
    public void send() {
        System.out.println("型号为" + getModel() + "的" + getBrand() + "手机，正在发送短信");
    }
}
